package com.yanchangapp.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.yanchangapp.R;
import com.yanchangapp.model.bean.GoodsSupplierBean;

import java.util.List;

/**
 * Created by apple on 2019-08-26.
 * description: 采购审批  ==> 内部供应商选择的Adapter
 */
public class GoodsInnerAdapter extends BaseQuickAdapter<GoodsSupplierBean, BaseViewHolder> {

    public GoodsInnerAdapter(int layoutResId, @Nullable List<GoodsSupplierBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, GoodsSupplierBean item) {
        helper.setText(R.id.tvSupplierName,item.getSupplierName());
    }
}
